/**
 * 登录.js
 */
layui.config({
	base : layuiExtend,
	version : false,
}).extend({
	
}).use(['layer', 'element', 'form'], function() {
	var $ =  layui.jquery,
	layer = layui.layer,
	element = layui.element,
	form = layui.form,
	
	// 方法库
	o = {
			
	};
	
	// 用户点击登录按钮
	form.on('submit(submit-login)', function(data){
		layer.msg('登录成功！', {
			icon: 6,
		}, function(){
			window.location.href = $("#form-login").attr("action");
		});
		return false;
	});
	
    
});
